package com.cmc.cloud.cmclink.doc.api.document.req.so.sovo.operatelog;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * doc_operate_log分页 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - doc_operate_log分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OperateLogPageReqVO extends PageParam {

    @Schema(description = "业务类型", example = "1")
    private String businessType;

    @Schema(description = "业务id", example = "935")
    private Long businessId;

    @Schema(description = "业务号")
    private String businessNo;

    @Schema(description = "操作类型 一级", example = "1")
    private String operateType;

    @Schema(description = "拒绝/同意/待定")
    private String operateTypeSub;

    @Schema(description = "详细类型，拒绝详细类型")
    private String operateTypeThird;

    @Schema(description = "详细理由")
    private String operateDesc;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
